<template>
  <div class="bigNum">
    <div class="bigNumItem" v-for="(e, i) in list" :key="i">
      <div class="value">{{ e.value }}</div>
      <div class="label">{{ e.label }}</div>
    </div>
  </div>
</template>

<script>
export default {
  name: 'bigNum',
  props: {
    list: {
      type: Array,
      default: () => [],
    },
  },
};
</script>

<style scoped lang="scss">
.bigNum {
  .bigNumItem {
    display: inline-flex;
    width: 160px;
    height: 100px;
    background-color: antiquewhite;
    margin-right: 20px;
    margin-bottom: 20px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    &:last-child {
      margin: 0;
    }
    .value {
      font-size: 30px;
    }
    .label {
      font-size: 20px;
    }
  }
}
</style>
